package com.kly.cashmall.base;

import com.kly.cashmall.AppApplication;

/**
 * @author zxp
 * @since 27/10/21
 */
public final class HttpConst {

    static final String APP_CLIENT = "android";

    private static final String APP_KEY = "90016";
    private static final String APP_SECRET = "9d19fa1115312b5415333218b0e0d122";


    private static final String APP_KEY_DEBUG = "123456";
    private static final String APP_SECRET_DEBUG = "460bd2ae05a0756a443b72778a9e96b9";

    public static String getAppKey() {
        if (AppApplication.RUNNING_ENVIRONMENT == AppApplication.RUNNING_DEBUG) {
            return APP_KEY_DEBUG;
        }
        return APP_KEY;
    }

    public static String getAppSecret() {
        if (AppApplication.RUNNING_ENVIRONMENT == AppApplication.RUNNING_DEBUG) {
            return APP_SECRET_DEBUG;
        }
        return APP_SECRET;
    }
}
